public class RPG1
{
        public static void main (String[] args)
        {
                demoSwordsMan();
                demoMagician();
        }
        static void demoSwordsMan()
        {
                SwordsMan1 swordsMan = new SwordsMan1();
                swordsMan.setName("Justin");
                swordsMan.setLevel(1);
                swordsMan.setBlood(200);
                System.out.printf("剑士 : (%s, %d, %d)%n",swordsMan.getName(),
                                swordsMan.getLevel(),swordsMan.getBlood());
        }
        static void demoMagician()
        {
                Magician1 magician = new Magician1();
                magician.setName("Moinca");
                magician.setLevel(1);
                magician.setBlood(100);
                System.out.printf("魔法师 :(%s ,%d ,%d)%n",magician.getName(),
                                magician.getLevel(),magician.getBlood());

        }
        stiatic void demoGodess()
        {
               Godess1 godess = new Godess1();
               godess.setName("Jane");
               godess.setLevel(3);
               godess.setBlood(300);
               System.out.printf("神 :(%s ,%d ,%d)%n",godess.getName(),
                               godess.getLevel(),godess.getBlood());
         }
        static void showBlood(Role1 role)
	{
		System.out.printf("%s 血量 %d%n",role.getName(),role.getBlood());
	}
}
